// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com

// ReSharper disable CheckNamespace
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global

/* XBitmapImage.cs --
 * Ars Magna project, http://arsmagna.ru
 */

#nullable enable

using AM;

namespace PdfSharpCore.Drawing;

/// <summary>
/// Defines a pixel based bitmap image.
/// </summary>
public sealed class XBitmapImage
    : XBitmapSource
{
    // TODO: Move code from XImage to this class.

    /// <summary>
    /// Initializes a new instance of the <see cref="XBitmapImage"/> class.
    /// </summary>
    internal XBitmapImage (int width, int height)
    {
        width.NotUsed();
        height.NotUsed();

        // пустое тело конструктора
    }

    /// <summary>
    /// Creates a default 24 bit ARGB bitmap with the specified pixel size.
    /// </summary>
    public static XBitmapSource CreateBitmap (int width, int height)
    {
        // Create a default 24 bit ARGB bitmap.
        return new XBitmapImage (width, height);
    }
}
